package com.ithuangyl.common.mvp.base;

import android.os.Bundle;
import android.util.Log;

public class BaseMvpPresenter<V extends IBaseMvpView> {
    private static final String TAG = "BasePresenter";
    private V baseView;

    public void onBindView(V view) {
        this.baseView = view;
    }

    public void onUnbindView() {
        this.baseView = null;
    }

    public void onDestroyPresenter() {
        Log.e(TAG, "-------> onDestroyPresenter");
    }

    public void onSaveInstanceState(Bundle outState) {
        Log.e(TAG, "-------> onSaveInstanceState");
    }

    public V getView() {
        return baseView;
    }
}

